<extend name="public/base"/>

<block name="content">
      <ul class="nav nav-tabs">
        <li><a href="{:U('Index/index')}">学生管理</a></li>
        <li><a href="{:U('Index/search')}">学生查询</a></li>
        <li><a href="{:U('Index/show')}">班级浏览</a></li>
        <li class="active"><a href="{:U('Index/admin')}">后台管理</a></li>
      </ul>
	<!-- 标题栏 -->
	<div class="pageTit page-header">
    <h3>学生信息导入</h3>
    <div class="opt">
      <a class="btn btn-info" href="{:U('Student/index/index')}">返回学生列表</a>
    </div>
  </div> 
  
  <!-- 上传excel start -->
  <div class="formBox">
  <form id="addform" action="{:U('student/index/upload')}" method="post" enctype="multipart/form-data">
  <input name="id" type="hidden" value="{$goods_info.id}" />
        <div class="control-group">
          <label>Excel表格：</label>
                <input type="file" name="excelData" value=""  datatype="*4-50"  nullmsg="请填写班级名称！" errormsg="不能少于4个字符大于50个汉字"/>
                <span class="Validform_checktip"></span>
        </div>
        <div class="control-group">
          <img style="display:none;" src="images/loading.gif" />
          <input type="submit" class="btn btn-primary" value="导入" />
        </div>
    </form>
  </div>
  <!-- 上传excel end -->
  
    <!-- 数据列表 -->
        <!-- <div class="table">
         <table class="table table-striped  table-bordered">
             <thead>
            <tr class="info">                
                <th class="text-center">序号</th>                                     
                <th class="text-center">类别</th>
                <th class="text-center">教师</th>
                <th class="text-center">标题</th>                
                <th class="text-center">文章摘要</th>
                <th class="text-center">上传日期</th>                
                <th class="text-center">操  作</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="list">
                <volist name="list" id="vo">
                <tr>                    
                    <td>{$vo.id} </td>
                    <td>{$vo.subject}</td>
                    <td>{$vo.teacher}</td>
                    <td>{$vo.title}</td>
                    <td>{$vo.abstract|msubstr=0,20,'utf-8',true}</td>      
                    <td><span><if condition="($vo.update_time eq 0)"> &nbsp <else/>
                  {$vo.update_time|date='Y-m-d',###}</if></span></td>                        
                    <td>
                        <a href="{:U('Education/editlunwen','id='.$vo['id'])}" >编辑</a> |
                        
                        <a href="{:U('Education/deletelunwen?id='.$vo['id'])}" class="authorize">删除</a>
                        
                        </td>
                </tr>
                </volist>
                <else/>
                <td colspan="8" class="text-center"> aOh! 暂时还没有内容! </td>
                </notempty>
            </tbody>
            </table>
        </div>		 -->

</block>

